package com.grom.dao;

import com.grom.po.RelationDepToUser;
import com.grom.util.IDCreator;
import com.holder.DBContextHolder;
import com.holder.DBUTil;

public interface RelationDepToUserDao {
	RelationDepToUserDao instance = new RelationDepToUserDao() {
		public void add(RelationDepToUser depToUser) {
			depToUser.setID(IDCreator.getSingleId());
			DBContextHolder.setContextConnection(DatabaseDao.getConnection());
			DBUTil.save(depToUser);
		}

	};

	void add(RelationDepToUser depToUser);
}
